<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="angular-1.3.0.js"></script>
    <title></title>
</head>
<body ng-app ng-controller="control">
<div >{{LANGUAGE.name[number]}}</div>
<div >{{LANGUAGE.table[number]}}</div>
<div >{{LANGUAGE.order[number]}}</div>
<div >{{LANGUAGE.conquest[number]}}</div>
<button ng-click="chinese()">中文</button>
<button ng-click="english()">英文</button>
<script>
    function control($scope){
        $scope.number = 0;
        var langurage={
            name:['白庆春','baiqingchun'],
            table:['桌台','zhuotai'],
            order:['订单','order'],
            conquest:['优惠券','coupon']
        }
        $scope.LANGUAGE=langurage;
        $scope.chinese = function(){
            $scope.number=0;
        }
        $scope.english = function(){
            $scope.number=1;
        }

    }
</script>
</body>
</html>